<template>
    <div>
       <p @click="startUpRocket">coo:{{coo}}</p>
       <p @click="handle">传给b</p>
    </div>
</template>




<script>
export default {
    props:["coo"],
    data(){
        return{

        }
    },
    methods:{
        startUpRocket(){
            this.$emit("upRocket");
        },
        handle(){
            this.$emit('handlke')
        }
    }
}
</script>
